package homework.polyimple.coding;

public abstract class Animal {
    private String color;
    public Animal(String color){
       this.setColor(color);
    }
    public abstract void show();
    public void shape(){
        System.out.println("Animal is color:"+this.getColor());
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
